package org.itboys.product.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

/**
 * 商品品牌
 * @author ChenJh
 */
@Entity(value = "ProductBrand", noClassnameStored = true)
public class ProductBrand extends BaseLongIdEntity{

	private static final long serialVersionUID = -645928686011670694L;
	
	private String logo;//品牌logo 阿里云oss文件id
	@Indexed
	private String name; //品牌名称
	private String desc;//品牌描述 品牌文化
	private int isDeleted = 0;//状态 0:有效 1:废弃
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public int getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}
	
}
